/*
 This file 'textfield' is part of Firebird Integrated Solution 1.0

 Copyright (c) 2015 Lincong

 Contact:  
        Email: lincong1987@gmail.com

        QQ: 159257119
 
 See Usage at http://www.jplatformx.com/firebird

 Create date: 2015-03-05 13:35
 */
.fb-ui-textfield {
  border: 1px solid #ccc;
  border-color: #C0C0C0 #D9D9D9 #D9D9D9;
  position: relative;
  display: inline-block;
  white-space: nowrap;
  margin: 0;
  padding: 0;
  vertical-align: middle;
  width: 222px;
  height: 22px;
  background: #FFF;
  transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
}
.fb-ui-textfield .fb-ui-textfield-input {
  box-sizing: border-box;
  position: absolute;
  width: 100%;
  padding: 4px 10px;
  padding-bottom: 3px \0;
  border: none 0;
  font-size: 12px;
  background: transparent;
  top: 0;
  left: 0;
  z-index: 2;
}
.fb-ui-textfield .fb-ui-textfield-input:focus {
  outline: none;
}
.fb-ui-textfield .fb-ui-textfield-placeholder {
  position: absolute;
  top: 4px;
  left: 10px;
  color: #DDD;
  z-index: 1;
  font-size: 12px;
}
.fb-ui-textfield .msg-box {
  position: absolute;
  left: 100%;
  z-index: 99999;
}
.fb-ui-textfield .msg-box.n-top {
  left: 0;
}
.fb-ui-textfield.fb-ui-textfield-hover {
  border-color: #60b4ff;
}
.fb-ui-textfield.fb-ui-textfield-focus {
  border-color: #4D90FE;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.075), 0 0 5px rgba(81, 167, 232, 0.5);
}
.fb-ui-textfield.fb-ui-textfield-disabled {
  border-color: #ccc;
  background: #eee;
  cursor: not-allowed;
}
.fb-ui-textfield.fb-ui-textfield-disabled .fb-ui-textfield-input {
  background: transparent;
  cursor: not-allowed;
}
.fb-ui-textfield.fb-ui-textfield-readonly {
  border-color: #ccc;
  background: #eee;
  cursor: not-allowed;
}
.fb-ui-textfield.fb-ui-textfield-readonly .fb-ui-textfield-input {
  background: transparent;
  cursor: not-allowed;
}
.fb-ui-textfield.fb-ui-textfield-valid {
  border-color: #15A532;
}
.fb-ui-textfield.fb-ui-textfield-invalid {
  border-color: red;
}
